var path = require('path');

module.exports = {
    mode: 'development',
    entry: './main.js',
    output: {
        filename: 'main-webpack.js',
        path:  path.resolve(__dirname,'dist')
    },
    module: {
        rules: [
            {
               test: /\.css$/,
               use: ['style-loader', 'css-loader']
            }
        ]
    }
}